package com.wmh.baseservice.skd.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "绑定银行卡请求体")
public class AddBankCardReqVO implements Serializable {
    @ApiModelProperty(value = "持卡人")
    @NotBlank(message = "未提交持卡人姓名")
    private String cardholder;

    @ApiModelProperty(value = "银行卡号")
    @NotBlank(message = "未提交银行卡号")
    private String bankCardNumber;

    @ApiModelProperty(value = "开户银行")
    @NotBlank(message = "未提交开户银行")
    private String bankOfDeposit;

    @ApiModelProperty(value = "开户支行")
    @NotBlank(message = "未提交开户支行")
    private String accountOpeningBranch;

    @ApiModelProperty(value = "手机号码")
    @NotBlank(message = "未提交手机号码")
    private String phoneNumber;
}
